package com.deer.wms.base.system.model.bill;

import com.deer.wms.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.*;


/** 出库单*/
@Data
@NoArgsConstructor
@Accessors(chain=true)
public class BillOutMaster {

	@Id
	private Integer billId;//id
	private String billNo; //出库单号
	private Long outNumber; //流水号
	@Excel(name = "单据状态")
	private Integer state; //1;待出库2;部分出库3;出库完成
	private Integer sapState; //单SAP过账状态  1;未过账 2;已过帐
	@Excel(name = "出库类型")
	protected Integer type; //出库类型 1.工单出库 2.退货出库 3.报废出库 4.非工单出库 5.异常出库
	private String sapNo; //SAP单号
	private Integer sapId;//id

	private Integer createUserId;//创建人id
	@Excel(name = "操作人员")
	private String createUserName;//创建人名称
	@Excel(name = "操作时间")
	private String createTime; //创建时间
	private String auditUserName;//审核人名称
	private Integer auditUserId; //审核人id
	private String auditTime; //审核时间

	private String startTime;
	private String endTime;

}
